package ooday03;

public class Chick extends Animal{
    Chick(String name ,int age ,String color){
        super(name, age, color);
    }
    void eat(){
        System.out.println(color+name+"在吃饭");
    }
    void drink(){
        System.out.println(age+"岁的"+name+"在喝水");
    }
    void layEggs(){
        System.out.println(name+"下蛋了");
    }
}
